home *** CD-ROM | disk | FTP | other *** search
- 67
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Prompt
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows and Macintosh
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baPrompt displays a prompt dialog box.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = baPrompt( Caption, Instruction, DefaultText, Flags, X, Y )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String, string, string, integer, integer, integer.
- --- RECORDSEPARATOR ---
- Caption is the caption to show in the Title bar.
- --- RECORDSEPARATOR ---
- Instruction is the instruction to display to the user.
- --- RECORDSEPARATOR ---
- DefaultText is the text to display in the edit box.
- --- RECORDSEPARATOR ---
- Flags changes the behaviour of the dialog.
- --- RECORDSEPARATOR ---
- X is the horizontal position of the dialog.
- --- RECORDSEPARATOR ---
- Y is the vertical position of the dialog.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String.
- --- RECORDSEPARATOR ---
- Returns the text the user entered, or an empty string if cancelled
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- pw = baPrompt( "", "Please enter your password:" , "", 2, -1, -1 )
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- pw := baPrompt( "", "Please enter your password:" , "", 2, -1, -1 )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Four flags are currently defined:
- --- RECORDSEPARATOR ---
- 1
- --- RECORDSEPARATOR ---
- only allow numbers to be entered
- --- RECORDSEPARATOR ---
- 2
- --- RECORDSEPARATOR ---
- use ***** to mask the user input
- --- RECORDSEPARATOR ---
- 4
- --- RECORDSEPARATOR ---
- Don't allow spaces to be entered
- --- RECORDSEPARATOR ---
- 8
- --- RECORDSEPARATOR ---
- Do not allow blank entry
- --- RECORDSEPARATOR ---
- The values of the X and Y are relative to the screen. Use -1 to center the dialog on
- --- RECORDSEPARATOR ---
- the screen, -2 to center on the Director/Authorware window.